package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文档管理对象 sys_document
 * 
 * @author ruoyi
 * @date 2024-02-04
 */
public class SysDocument extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long documentId;

    /** 文档名称 */
    @Excel(name = "文档名称")
    private String documentTitle;

    /** 文档作者 */
    @Excel(name = "文档作者")
    private String documentAuthor;

    /** 文档段落内容 */
    @Excel(name = "文档段落内容")
    private String documentPara;

    /** 文档表格内容 */
    @Excel(name = "文档表格内容")
    private String documentTable;

    /** 状态（0正常 1废弃 2审批中） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=废弃,2=审批中")
    private String documentStatus;

    public void setDocumentId(Long documentId) 
    {
        this.documentId = documentId;
    }

    public Long getDocumentId() 
    {
        return documentId;
    }
    public void setDocumentTitle(String documentTitle) 
    {
        this.documentTitle = documentTitle;
    }

    public String getDocumentTitle() 
    {
        return documentTitle;
    }
    public void setDocumentAuthor(String documentAuthor) 
    {
        this.documentAuthor = documentAuthor;
    }

    public String getDocumentAuthor() 
    {
        return documentAuthor;
    }
    public void setDocumentPara(String documentPara) 
    {
        this.documentPara = documentPara;
    }

    public String getDocumentPara() 
    {
        return documentPara;
    }
    public void setDocumentTable(String documentTable) 
    {
        this.documentTable = documentTable;
    }

    public String getDocumentTable() 
    {
        return documentTable;
    }
    public void setDocumentStatus(String documentStatus) 
    {
        this.documentStatus = documentStatus;
    }

    public String getDocumentStatus() 
    {
        return documentStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("documentId", getDocumentId())
            .append("documentTitle", getDocumentTitle())
            .append("documentAuthor", getDocumentAuthor())
            .append("documentPara", getDocumentPara())
            .append("documentTable", getDocumentTable())
            .append("documentStatus", getDocumentStatus())
            .toString();
    }
}
